package ebj.common.math;

import java.text.NumberFormat;

public class DoublePrecision {
	public static void main(String[] args) {
		double d_a = 216.55;
		double d_b = 10;
		double result = 30 / d_b;
//		NumberFormat numberFormat = NumberFormat.getInstance();
//		numberFormat.setMaximumFractionDigits(4);
//		System.out.println(result);
//		System.out.println(numberFormat.format(result));
		
		System.out.println(MathUtils.numberFormat2(result, 2));
		
		Test test = new Test();
		
		System.out.println("///////////////////////");
		System.out.println(test.getF_a());
		System.out.println(test.getF_b());
		
		test.setD_b(10.00);
	}
}

